var express = require('express');
var router = express.Router();
const { createStudents, getStudents, delStudents, changeStudents, subChangeStudents } = require('../controllers/studentsControllers')
    /* GET home page. */
    //二级接口
    //新增学生
router.post('/createStudents', createStudents);
//渲染学生
router.get('/getStudents', getStudents);
router.get('/delStudents', delStudents);
router.get('/changeStudents', changeStudents);
router.post('/subChangeStudents', subChangeStudents);

module.exports = router;